<!DOCTYPE html>
<html>
<head>
	<title>编辑信息</title>
	<link rel="stylesheet" type="text/css" href="/Template/admin/default/css/css.css">
</head>
<body>
<div class="content">
	<div class="curr-position">当前位置：信息管理 &gt; 编辑信息</div>
	<div class="page-top">
		<span class="fl"><a href="{{:U('admin/info/infolist')}}">返回列表</a></span>
		<span class="fr"><a href="javascript:location.reload();">刷新</a></span>
	</div>
	<form method="post" action="">
	<input type="hidden" name="id" value="{{$edit.id}}">
	<table class="data-tab">
		<thead>
			<tr>
				<th class="item">项目</th>
				<th class="data">内容</th>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td class="item">账户</td>
				<td class="data"><input class="smallIpt" type="text" name="account" value="{{$edit.account}}"></td>				
			</tr>
			<tr>
				<td class="item">密码</td>
				<td class="data"><input class="smallIpt" type="text" name="password" value="{{$edit.password}}"></td>				
			</tr>
			<tr>
				<td class="item">姓名</td>
				<td class="data"><input class="smallIpt" type="text" name="name" value="{{$edit.name}}"></td>				
			</tr>
			<tr>
				<td class="item">预留手机</td>
				<td class="data"><input class="mediumIpt" type="text" name="psn" value="{{$edit.psn}}"></td>	
			</tr>
			
			<tr>
				<td class="item">区域</td>
				<td class="data">
					<select name="area_id">
						<volist name="arealist" id="vo">
							<option value="{{$vo.id}}" <if condition="$edit[area_id] eq $vo[id]">selected="selected"</if>>{{$vo.name}}</option>
						</volist>
					</select>
				</td>				
			</tr>
			<tr>
				<td class="item">数据</td>
				<td class="data"><textarea name="data" class="info-data">{{$edit.data}}</textarea></td>				
			</tr>
			<tr>
				<td class="item">端口</td>
				<td class="data"><input class="smallIpt" type="text" name="port" value="{{$edit.port}}"></td>	
			</tr>
			<tr>
				<td class="item">维护员</td>
				<td class="data">
					<select name="charger_id">
						<volist name="chglist" id="vo">
							<option value="{{$vo.id}}" <if condition="$edit[charger_id] eq $vo[id]">selected="selected"</if> <if condition="$vo[status] eq 0">disabled="disabled"</if>>{{$vo.name}}[{{$vo.mobile}}]</option>
						</volist>
					</select> 选择维护员</td>				
			</tr>
			<tr>
				<td class="item">&nbsp;</td>
				<td class="data"><input type="submit" class="btn" value="提 交"></td>				
			</tr>
		</tbody>
	</table>
	</form>
</div>

</body>
</html>